using System;
using System.Collections.Generic;
using System.Text;

namespace slcl
{
    class LinkedSet
    {
        /// <summary>
        ///  prims that constitute this linked set.
        /// </summary>
        List<Prim> Prims;

        /// <summary>
        ///  who owns this linked set.
        /// </summary>
        Avatar Owner;

        /// <summary>
        /// group that owns this linked set.
        /// </summary>
        Group Group;

        /// <summary>
        ///  permissions, level 1 == class, level 2 == permission. ex. Permissions["Owner"]["Modify"] == true;
        /// </summary>
        Dictionary<string, Dictionary<string, bool>> Permissions;

        /// <summary>
        /// what parcel this linked set is in.
        /// </summary>
        Parcel Parcel;

        /// <summary>
        /// where this linked set is at.
        /// </summary>
//        Position Position;

        public LinkedSet(Parcel parcel)
        {
            Parcel = parcel;
            Prims = new List<Prim>();
        }
    }
}
